<input type="hidden" name="org.id" value="#(org.id)">
<input type="hidden" name="org.parentId" value="#(org.parentId)">
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">上级机构</label>
		<div class="layui-input-inline">
			<input type="text" id="orgSelect" lay-verify="required" name="org.parentId" lay-filter="orgSelect" placeholder="选择组织机构" class="layui-input" value="#(org.parentId)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">机构类型</label>
		<div class="layui-input-inline">
			<select name="org.type" lay-filter="" lay-verify="required">
				<option value="">-- 请选择 --</option>
			#dictList(parentKey="org_type")
				#for(dict : dictList)
				<option value="#(dict.key)" #if(dict.key == org.type) selected #end>#(dict.value)</option>
				#end
			#end
			</select>
		</div>
	</div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">名称</label>
		<div class="layui-input-inline">
			<input type="text" name="org.name" lay-verify="required|name" placeholder="" autocomplete="off" class="layui-input" value="#(org.name)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label">代码</label>
		<div class="layui-input-inline">
			<input type="text" name="org.code" placeholder="" autocomplete="off" class="layui-input" value="#(org.code)">
		</div>
	</div>
</div>


<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">排序</label>
		<div class="layui-input-inline">
			<input type="text" name="org.sortNum"	lay-verify="required|number" autocomplete="off" class="layui-input" value="#(org.sortNum)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">状态</label>
		<div class="layui-input-inline">
			<input type="radio" name="org.status" value="on" title="启用" #if(org.status == 'on' || org.status == null) checked #end>
			<input type="radio" name="org.status" value="off" title="禁用" #if(org.status == 'off') checked #end>
		</div>
	</div>
</div>

<div class="layui-form-item layui-form-text">
	<label class="layui-form-label">描述</label>
	<div class="layui-input-block">
		<textarea placeholder="" name="org.remark" class="layui-textarea">#(org.remark)</textarea>
	</div>
</div>
